DirectShapeType.IsValidShape
Description:
Validates view-specific shape to be stored in a DirectShapeType. Expects a non-default view type.
Validates view-specific shape to be stored in a DirectShapeType. Expects a non-default view type.
Overloads (3):
IsValidShape(IList[GeometryObject],DirectShapeTargetViewType)
public bool IsValidShape(
IList<GeometryObject> shape,
DirectShapeTargetViewType viewType
)
-
IList<GeometryObject>shapeShape of this object expressed as a collection of GeometryObjects. For viewType = DirectShapeTargetViewType::Default, the supported types of GeometryObjects are: Solid, Mesh, GeometryInstance, Point, Curve and PolyLine. For viewType = DirectShapeTargetViewType::Plan, the supported types of GeometryObjects are: Point and Curve.
-
viewTypeThe view type this shape is intended for.
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration